package com.deer.wms.base.system.service.impl;

import com.deer.wms.base.system.dao.ShelfInfoMapper;
import com.deer.wms.base.system.model.Shelf.ShelfInfo;
import com.deer.wms.base.system.model.Shelf.ShelfInfoCriteria;
import com.deer.wms.base.system.model.Shelf.ShelfInfoDto;
import com.deer.wms.base.system.service.ShelfInfoService;
import com.deer.wms.project.root.service.SuperServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 *
 * @author guo
 * @since 2019/11/27
 */
@Service
@Transactional
public class ShelfInfoServiceImpl extends SuperServiceImpl<ShelfInfoMapper, ShelfInfo> implements ShelfInfoService {

    @Autowired
    private ShelfInfoMapper shelfInfoMapper;

    @Override
    public List<ShelfInfoDto> findList(ShelfInfoCriteria criteria){
        return shelfInfoMapper.findList(criteria);
    }

}
